Re: [Mysql-cocoa-users] Re: mysql_list_dbs
Brought to you by:
sergecohen
|
From: Serge C. <co...@em...> - 2002-05-03 09:46:49
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Bertrand;=0D =0D I've worked yesterday on this.=0D Now I've added a couple of methods: listDBs:(NSString *), =0D listTables:(NSString *), listFields:(NSString *) fromTable:(NSSTring *).=0D= =0D On top of that I added a method description to SMySQLResult (for NSLog =0D= purpous, and string formating).=0D =0D Finally I've tried to use properly the encoding information I have in =0D= the object. I still have a strange bug (Bus error), problem in =0D SMySQL_Test application, when testing mehtod listFields:... .=0D =0D The new version is on CVS (both framework and SMySQL_test app).=0D =0D =0D Serge.=0D =0D NB: To compile SMySQL_Test, one have to compile the SMySQL framework in =0D= NON embeded target (it should be in ~/Library/Frameworks), NSFoundation =0D= app cannot have embeded frameworks.=0D =0D Any help on that is welcomed.=0D =0D =0D Le jeudi 2 mai 2002, =C3=A0 12:41 , Bertrand Mansion a =C3=A9crit :=0D =0D >=0D > Yes, a MySQLResult is fine. I have checked LucidSQL and they return a=0D= > NSArray which is not really appropriate I think. One would expect a =0D= > wrapper=0D > method to return the same kind of object as the original API does, =0D > otherwise=0D > it can become confusing. The mysql_list_dbs method return a MYSQL_RES=0D= > originally. This is more compatible with the Model-View-Controller =0D > paradigm.=0D >=0D >=0D - ----------------------------------------------------=0D Serge Cohen=0D =0D GPG Key ID: 1024D/69B1D346=0D - ----------------------------------------------------=0D -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (Darwin) Comment: For info see http://www.gnupg.org iD8DBQE80lz7Mygj1Wmx00YRAkxoAJ0TIm+k9Yk7gJBtGOWwUw5jvmOnQQCggTEv srvWrDzGL+G4BmmjoVAn4s8=3D =3DVVSB -----END PGP SIGNATURE----- |