From: <pau...@us...> - 2007-07-24 18:04:33
|
Revision: 974 http://svn.sourceforge.net/everydevel/?rev=974&view=rev Author: paul_the_nomad Date: 2007-07-24 11:04:26 -0700 (Tue, 24 Jul 2007) Log Message: ----------- Fix for DBD::sqlite's new 'schema has changed' feature Modified Paths: -------------- trunk/ebase/lib/Everything/DB/sqlite.pm Property Changed: ---------------- trunk/ebase/ Property changes on: trunk/ebase ___________________________________________________________________ Name: svk:merge - 16c2b9cb-492b-4d64-9535-64d4e875048d:/wip/ebase:1030 a6810612-c0f9-0310-9d3e-a9e4af8c5745:/ebase/offline:17930 + 16c2b9cb-492b-4d64-9535-64d4e875048d:/wip/ebase:1030 1b7afbaf-3eae-422c-ad05-e2bef7c06a0f:/wip/ebase:978 a6810612-c0f9-0310-9d3e-a9e4af8c5745:/ebase/offline:17930 Modified: trunk/ebase/lib/Everything/DB/sqlite.pm =================================================================== --- trunk/ebase/lib/Everything/DB/sqlite.pm 2007-07-01 20:45:28 UTC (rev 973) +++ trunk/ebase/lib/Everything/DB/sqlite.pm 2007-07-24 18:04:26 UTC (rev 974) @@ -83,7 +83,7 @@ unless ( exists $DBTABLE->{Fields} ) { - my $sth = $this->{dbh}->prepare_cached( "PRAGMA table_info($table)" ); + my $sth = $this->{dbh}->prepare( "PRAGMA table_info($table)" ); $sth->execute(); while ( my $table_desc = $sth->fetchrow_arrayref()) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |