You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
STAssertTrue([_db executeUpdateAndReturnError: &error statement:@"CREATE TABLE test (a integer, b varchar(20), c double, d blob, e varchar(20))"], @"Create table failed: %@", error);
322
-
STAssertTrue(([_db executeUpdate:@"INSERT INTO test (a, b, c, d, e) VALUES (?, ?, ?, ?, ?)",
323
-
testInteger, testString, testDouble, testBlob, nil]), @"Could not insert row");
323
+
STAssertTrue([_db executeUpdateAndReturnError: &error statement:@"CREATE TABLE test (a integer, b varchar(20), c double, d blob, e varchar(20), f integer)"], @"Create table failed: %@", error);
324
+
STAssertTrue(([_db executeUpdate:@"INSERT INTO test (a, b, c, d, e, f) VALUES (?, ?, ?, ?, ?, ?)",
325
+
testInteger, testString, testDouble, testBlob, nil, testBigInteger]), @"Could not insert row");
324
326
325
327
/* Query the data */
326
328
result = [_db executeQuery:@"SELECT * FROM test"];
0 commit comments