Welcome Guest, Not a member yet? Register   Sign In
SQLite3 + CI 1.7.2
#8

[eluser]wwwald[/eluser]
[quote author="mpc" date="1258340669"][quote author="wwwald" date="1257968647"] I suspect it has to do with the num_rows() function in sqlite3_result.php. Because of SQLite3 API specifics, ... [/quote]

... just guessing, but where would sqlite3_result.php be called? i.e. sqlite_result.php wouldn't get you there in sqlite3.[/quote]

Not sure if I completely get what you mean, but sqlite3_result.php is used whenever database results are requested in my code, using result() or row() or similar commands. It's a driver-specific subclass of CI's own CI_DB_result class.

In fact, I've found a workaround for the num_rows() function that partly solves that situation, inspired by the wiki page on the PDO-SQLite3 approach. There's still some stuff I don't fully get about the inner database workings, maybe I'll get those ironed out in the coming days/weeks. You'll hear from me when I do :-)

wwwald


Messages In This Thread
SQLite3 + CI 1.7.2 - by El Forum - 11-09-2009, 03:48 PM
SQLite3 + CI 1.7.2 - by El Forum - 11-09-2009, 09:52 PM
SQLite3 + CI 1.7.2 - by El Forum - 11-10-2009, 01:39 AM
SQLite3 + CI 1.7.2 - by El Forum - 11-11-2009, 01:15 AM
SQLite3 + CI 1.7.2 - by El Forum - 11-11-2009, 07:44 AM
SQLite3 + CI 1.7.2 - by El Forum - 11-11-2009, 07:56 AM
SQLite3 + CI 1.7.2 - by El Forum - 11-15-2009, 03:04 PM
SQLite3 + CI 1.7.2 - by El Forum - 11-15-2009, 03:55 PM
SQLite3 + CI 1.7.2 - by El Forum - 12-20-2009, 09:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB