[Mysql-cocoa-commits] CVS: SMySQL/SMySQL_Test main2.m,1.1.2.1,1.1.2.2
Brought to you by:
sergecohen
From: Serge C. <ser...@us...> - 2002-06-03 13:11:52
|
Update of /cvsroot/mysql-cocoa/SMySQL/SMySQL_Test In directory usw-pr-cvs1:/tmp/cvs-serv12478 Modified Files: Tag: version-2 main2.m Log Message: -Added support for NULL fields in the results. -Easier to maintain methods for retrieving row and types information -Added a MCPResultPlus category, for extra methods to handle and get result rows and column (per column, and 2D) Serge Cohen; MySQL Cocoa project, 2002-06-03. Index: main2.m =================================================================== RCS file: /cvsroot/mysql-cocoa/SMySQL/SMySQL_Test/Attic/main2.m,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 *** main2.m 2 Jun 2002 12:48:45 -0000 1.1.2.1 --- main2.m 3 Jun 2002 13:11:45 -0000 1.1.2.2 *************** *** 44,47 **** --- 44,48 ---- connection = [[MCPConnection alloc] initToHost:@"localhost" withLogin:@"ObjC" password:@"MySQL_class" usingPort:0]; [connection selectDB:@"test_mysqlclass"]; + result = [connection queryString:@"select * from test1"]; count = [result numOfFields]; *************** *** 63,66 **** --- 64,68 ---- NSLog (@"Here is the NSLog of a MCPResult : \n%@", result); // [result release]; + result = [connection queryString:@"select test1_id, test1_key from test1 where test1_id=1"]; |