As part of the startup routines in the ODBC code I'm working on, a background thread is fired off that runs a series of queries to build up the DB schema.
When I run this against a MySQL test database on my machine, everything works fine.
But when I run it against a Firebird DB on the same machine it pukes. The problem appears to be nothing more than a "$" character in a table name...
That po is being typed in when the system is brake'd on the second of these two following lines:
When I continue, boom:
The error being reported also seems odd to me...
When I run this against a MySQL test database on my machine, everything works fine.
But when I run it against a Firebird DB on the same machine it pukes. The problem appears to be nothing more than a "$" character in a table name...
Code:
(lldb) po nameAsData
(NSData *) $10 = 0x00000001020d32d0 MON$ATTACHMENTS
Code:
NSData *nameAsData = [dictForTable valueForKey:@"table_name"];
NSString *tableName = [[[NSString alloc] initWithData:nameAsData encoding:[conn defaultEncoding]] autorelease];
Code:
2012-06-18 15:51:11.795 ODBCQueryTool[2398:802f] -[__NSCFString bytes]: unrecognized selector sent to instance 0x1020d32d0
Last edited by a moderator: