Folks,
Has anyone seen or been able to resolve the following error:
CLSQL-SYS(6): (create-table [vertices] '(([vertexID] integer)([name] (string 45))))
Error: Attempt to call
#("clsql_mysql_field_flags" 1669840587 0 2 1669840587) for which
the definition has not yet been (or is no longer) loaded.
[condition type: SIMPLE-ERROR]
I initially had problems compiling CLSQL via ASDF and ultimately had to download a file called libmysql.dll and place it in the db-mysql and uffi subdirectories.
I am able to connect to my database server and run certain commands like list-tables and insert-records. However other lisp function such as create-table or select result in the above error.
For the record I am running this on a Windows 7 machine, using MySQL Server 5.5 and Allegro Common Lisp 9.0
Any clues or suggestions would be most appreciated, as I am pretty knew to both MySQL and CLSQL.
Below is a short transcript of a short session demonstrating that some things are in fact working!
CL-USER(1): ;; Setting (stream-external-format *terminal-io*) to :emacs-mule.
CL-USER(2): (in-package :clsql-sys)
#<The CLSQL-SYS package>
CLSQL-SYS(3): (CONNECT '("localhost" "Graph" "root" "*******”) :database-type :mysql)
#<CLSQL-MYSQL:MYSQL-DATABASE localhost/Graph/root OPEN <at> #x214f3de2>
CLSQL-SYS(4): (list-tables)
("edges")
CLSQL-SYS(5): (file-enable-sql-reader-syntax)
T
CLSQL-SYS(6): (create-table [vertices] '(([vertexID] integer)([name] (string 45))))
Error: Attempt to call
#("clsql_mysql_field_flags" 1669840587 0 2 1669840587) for which
the definition has not yet been (or is no longer) loaded.
[condition type: SIMPLE-ERROR]
Thanks!
Ray,
Raymond Pierre de Lacaze
rpl-/KLN2IFiNzJAfugRpC6u6w@public.gmane.org