X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=doc%2Fref-connect.xml;h=a30aaf13e0a78e69c7765499a27087fbbfc5d267;hb=f9a851a5e3d042c618a991542baca8c0c5baffc8;hp=e63aae2a84d44e2763372fe43762cb2ab1671dd8;hpb=5edc92aee527621ed13245b5b7892e40c2cd443f;p=clsql.git diff --git a/doc/ref-connect.xml b/doc/ref-connect.xml index e63aae2..a30aaf1 100644 --- a/doc/ref-connect.xml +++ b/doc/ref-connect.xml @@ -371,8 +371,7 @@ Syntax - Syntax - connect connection-spec &key if-exists database-type pool make-default => database + connect connection-spec &key if-exists database-type pool make-default => database Arguments and Values @@ -380,8 +379,14 @@ connection-spec - A vendor specific connection specification supplied - as a list or as a string. + A SQL backend specific connection specification + supplied as a list or as a string. + For the MySQL backend, this list includes an + optional associative list of connection options. The + options list is parsed and supplied to the MySQL API + using mysql_options in between the + calls to mysql_init + and mysql_real_connect. @@ -1826,7 +1831,7 @@ error: 'Access denied for user: 'root@localhost' (Using password: YES)' => Error: While trying to access database localhost/test2/root using database-type POSTGRESQL: - Error database-destory failed: dropdb: database removal failed: ERROR: database "test2" does not exist + Error database-destroy failed: dropdb: database removal failed: ERROR: database "test2" does not exist has occurred. [condition type: CLSQL-ACCESS-ERROR] @@ -2069,7 +2074,7 @@ Error: While trying to access database localhost/test2/root db-var - A variable to which the specified database is bound. + A variable which is bound to the specified database. @@ -2083,7 +2088,12 @@ Error: While trying to access database localhost/test2/root connect-args - Other optional arguments to connect. + Other optional arguments to + connect. This macro use a value of + &nil; for connect's + make-default key, This is in + contrast to to the connect function which has a default + value of &t; for make-default.