X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=doc%2Fref_clsql.xml;h=0d893a6208866732ed023058d1422be9d234c23a;hp=9f5c0d67514818d6cffa5c73e846c7640f4bed32;hb=fa32c4233b4a02ae631602dbb0a234ab10df8aaf;hpb=a89cc325beaf3045a767586e34251aadb09e6d66 diff --git a/doc/ref_clsql.xml b/doc/ref_clsql.xml index 9f5c0d6..0d893a6 100644 --- a/doc/ref_clsql.xml +++ b/doc/ref_clsql.xml @@ -1680,7 +1680,7 @@ The default is &nil;. success - A boolean flag. If &t;, a new database wa + A boolean flag. If &t;, a new database was successfully created. @@ -1700,6 +1700,7 @@ The default is &nil;. => T (create-database '("localhost" "new" "dent" "badpasswd") :database-type :mysql) +=> Error: While trying to access database localhost/new/dent using database-type MYSQL: Error database-create failed: mysqladmin: connect to server at 'localhost' failed @@ -1716,8 +1717,7 @@ error: 'Access denied for user: 'root@localhost' (Using password: YES)' Exceptional Situations An exception will be thrown if the database system does not allow new databases to be created or if database creation - fails. Currently, only the :postgresql-socket - does not allow new databases to be created. + fails. Notes @@ -1762,7 +1762,7 @@ error: 'Access denied for user: 'root@localhost' (Using password: YES)' success - A boolean flag. If &t;, a new database wa + A boolean flag. If &t;, the database was successfully destroyed. @@ -1782,6 +1782,7 @@ error: 'Access denied for user: 'root@localhost' (Using password: YES)' => T (destroy-database '("localhost" "new" "dent" "dent") :database-type :postgresql) +=> 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 @@ -1797,9 +1798,7 @@ Error: While trying to access database localhost/test2/root Exceptional Situations An exception will be thrown if the database system does not allow databases to be removed, the database does not exist, or - if database removal fails. Currently, only the - :postgresql-socket does not allow - databases to be destroyed. + if database removal fails. Notes @@ -1817,7 +1816,7 @@ Error: While trying to access database localhost/test2/root PROBE-DATABASE - tests for existance of a database + tests for existence of a database Function @@ -1853,7 +1852,7 @@ Error: While trying to access database localhost/test2/root Description - This function tests for the existance of a database in + This function tests for the existence of a database in the database system specified by database-type. @@ -1872,8 +1871,8 @@ Error: While trying to access database localhost/test2/root Exceptional Situations An exception maybe thrown if the database system does - not receive administrator-level authentication. This function - may need to read the administrative table of the database + not receive administrator-level authentication since function + may need to read the administrative database of the database system.