summaryrefslogtreecommitdiff
path: root/drivers/adodb-sqlite.inc.php
diff options
context:
space:
mode:
authorAndrew Nicols <andrew@nicols.co.uk>2015-08-11 12:57:00 +0800
committerAndrew Nicols <andrew@nicols.co.uk>2015-08-11 12:57:02 +0800
commitae85debec8c75c47b55566c3df08ec39002138df (patch)
tree157a0f3420241e1c826947628ac474800c643642 /drivers/adodb-sqlite.inc.php
parent52d1725e95ee30f28d4c6a9b3ec72c8e4d4e025f (diff)
downloadadodb-ae85debec8c75c47b55566c3df08ec39002138df.tar.gz
adodb-ae85debec8c75c47b55566c3df08ec39002138df.tar.bz2
adodb-ae85debec8c75c47b55566c3df08ec39002138df.zip
Correct function declarations for strict standards. Fixes #142
Diffstat (limited to 'drivers/adodb-sqlite.inc.php')
-rw-r--r--drivers/adodb-sqlite.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/adodb-sqlite.inc.php b/drivers/adodb-sqlite.inc.php
index 9956c1ba..85e5f33e 100644
--- a/drivers/adodb-sqlite.inc.php
+++ b/drivers/adodb-sqlite.inc.php
@@ -288,7 +288,7 @@ class ADODB_sqlite extends ADOConnection {
}
var $_dropSeqSQL = 'drop table %s';
- function DropSequence($seqname)
+ function DropSequence($seqname = 'adodbseq')
{
if (empty($this->_dropSeqSQL)) {
return false;
@@ -302,7 +302,7 @@ class ADODB_sqlite extends ADOConnection {
return @sqlite_close($this->_connectionID);
}
- function MetaIndexes($table, $primary = FALSE, $owner=false, $owner = false)
+ function MetaIndexes($table, $primary = FALSE, $owner = false)
{
$false = false;
// save old fetch mode