Error: Attempt to call #("clsql_mysql_field_flags".....

Raymond de Lacaze <[email protected]> Thu, 25 Oct 2012 18:22:47 -0400
Newsgroups gmane.lisp.clsql.general
Message-ID <[email protected]>
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 @ #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-/[email protected]

_______________________________________________
CLSQL mailing list
[email protected]
http://lists.b9.com/cgi-bin/mailman/listinfo/clsql