cvs: pear /MDB/MDB Common.php fbsql.php mssql.php mysql.php pgsql.php querysim.php /MDB/tests MDB_usage_testcase.php

From: Date: Mon, 08 Sep 2003 17:47:22 +0000
Subject: cvs: pear /MDB/MDB Common.php fbsql.php mssql.php mysql.php pgsql.php querysim.php /MDB/tests MDB_usage_testcase.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-12554@lists.php.net to get a copy of this message
lsmith Mon Sep 8 13:47:22 2003 EDT Modified files: /pear/MDB/MDB querysim.php pgsql.php mysql.php mssql.php fbsql.php Common.php /pear/MDB/tests MDB_usage_testcase.php Log: cosmetic fix: limit_queries -> limit_queries Index: pear/MDB/MDB/querysim.php diff -u pear/MDB/MDB/querysim.php:1.22 pear/MDB/MDB/querysim.php:1.23 --- pear/MDB/MDB/querysim.php:1.22 Tue Sep 2 06:55:01 2003 +++ pear/MDB/MDB/querysim.php Mon Sep 8 13:47:21 2003 @@ -60,7 +60,7 @@ // | please contact Alan Richmond. | // +----------------------------------------------------------------------+ // -// $Id: querysim.php,v 1.22 2003/09/02 10:55:01 lsmith Exp $ +// $Id: querysim.php,v 1.23 2003/09/08 17:47:21 lsmith Exp $ // /* @@ -246,7 +246,7 @@ $this->supported['summary_functions'] = 1; $this->supported['order_by_text'] = 1; $this->supported['current_id'] = 1; - $this->supported['limit_querys'] = 1;// this one is real + $this->supported['limit_queries'] = 1;// this one is real $this->supported['LOBs'] = 1; $this->supported['replace'] = 1; $this->supported['sub_selects'] = 1; Index: pear/MDB/MDB/pgsql.php diff -u pear/MDB/MDB/pgsql.php:1.87 pear/MDB/MDB/pgsql.php:1.88 --- pear/MDB/MDB/pgsql.php:1.87 Tue Sep 2 06:55:01 2003 +++ pear/MDB/MDB/pgsql.php Mon Sep 8 13:47:21 2003 @@ -42,7 +42,7 @@ // | Author: Paul Cooper <pgc@ucecom.com> | // +----------------------------------------------------------------------+ // -// $Id: pgsql.php,v 1.87 2003/09/02 10:55:01 lsmith Exp $ +// $Id: pgsql.php,v 1.88 2003/09/08 17:47:21 lsmith Exp $ require_once 'MDB/Common.php'; @@ -83,7 +83,7 @@ $this->supported['order_by_text'] = 1; $this->supported['transactions'] = 1; $this->supported['current_id'] = 1; - $this->supported['limit_querys'] = 1; + $this->supported['limit_queries'] = 1; $this->supported['LOBs'] = 1; $this->supported['replace'] = 1; $this->supported['sub_selects'] = 1; Index: pear/MDB/MDB/mysql.php diff -u pear/MDB/MDB/mysql.php:1.106 pear/MDB/MDB/mysql.php:1.107 --- pear/MDB/MDB/mysql.php:1.106 Wed Sep 3 11:22:26 2003 +++ pear/MDB/MDB/mysql.php Mon Sep 8 13:47:21 2003 @@ -43,7 +43,7 @@ // | Author: Lukas Smith <smith@backendmedia.com> | // +----------------------------------------------------------------------+ // -// $Id: mysql.php,v 1.106 2003/09/03 15:22:26 lsmith Exp $ +// $Id: mysql.php,v 1.107 2003/09/08 17:47:21 lsmith Exp $ // require_once 'MDB/Common.php'; @@ -93,7 +93,7 @@ $this->supported['summary_functions'] = 1; $this->supported['order_by_text'] = 1; $this->supported['current_id'] = 1; - $this->supported['limit_querys'] = 1; + $this->supported['limit_queries'] = 1; $this->supported['LOBs'] = 1; $this->supported['replace'] = 1; $this->supported['sub_selects'] = 0; Index: pear/MDB/MDB/mssql.php diff -u pear/MDB/MDB/mssql.php:1.35 pear/MDB/MDB/mssql.php:1.36 --- pear/MDB/MDB/mssql.php:1.35 Wed Sep 3 16:53:37 2003 +++ pear/MDB/MDB/mssql.php Mon Sep 8 13:47:21 2003 @@ -43,7 +43,7 @@ // | Author: Frank M. Kromann <frank@kromann.info> | // +----------------------------------------------------------------------+ // -// $Id: mssql.php,v 1.35 2003/09/03 20:53:37 lsmith Exp $ +// $Id: mssql.php,v 1.36 2003/09/08 17:47:21 lsmith Exp $ // require_once 'MDB/Common.php'; @@ -85,7 +85,7 @@ $this->supported['summary_functions'] = 1; $this->supported['order_by_text'] = 1; $this->supported['current_id'] = 1; - $this->supported['limit_querys'] = 1; + $this->supported['limit_queries'] = 1; $this->supported['LOBs'] = 1; $this->supported['replace'] = 1; $this->supported['sub_selects'] = 1; Index: pear/MDB/MDB/fbsql.php diff -u pear/MDB/MDB/fbsql.php:1.39 pear/MDB/MDB/fbsql.php:1.40 --- pear/MDB/MDB/fbsql.php:1.39 Tue Sep 2 06:55:01 2003 +++ pear/MDB/MDB/fbsql.php Mon Sep 8 13:47:21 2003 @@ -42,7 +42,7 @@ // | Author: Lukas Smith <smith@backendmedia.com> | // +----------------------------------------------------------------------+ // -// $Id: fbsql.php,v 1.39 2003/09/02 10:55:01 lsmith Exp $ +// $Id: fbsql.php,v 1.40 2003/09/08 17:47:21 lsmith Exp $ // require_once 'MDB/Common.php'; @@ -90,7 +90,7 @@ $this->supported['summary_functions'] = 1; $this->supported['order_by_text'] = 1; $this->supported['current_id'] = 1; - $this->supported['limit_querys'] = 1; + $this->supported['limit_queries'] = 1; $this->supported['LOBs'] = 1; $this->supported['replace'] = 0; $this->supported['sub_selects'] = 1; Index: pear/MDB/MDB/Common.php diff -u pear/MDB/MDB/Common.php:1.145 pear/MDB/MDB/Common.php:1.146 --- pear/MDB/MDB/Common.php:1.145 Wed Sep 3 16:53:47 2003 +++ pear/MDB/MDB/Common.php Mon Sep 8 13:47:21 2003 @@ -42,7 +42,7 @@ // | Author: Lukas Smith <smith@backendmedia.com> | // +----------------------------------------------------------------------+ // -// $Id: Common.php,v 1.145 2003/09/03 20:53:47 lsmith Exp $ +// $Id: Common.php,v 1.146 2003/09/08 17:47:21 lsmith Exp $ /** * @package MDB @@ -862,7 +862,7 @@ */ function setLimit($first, $limit) { - if (!isset($this->supported['limit_querys'])) { + if (!isset($this->supported['limit_queries'])) { return $this->raiseError(MDB_ERROR_UNSUPPORTED, null, null, 'setLimit: limit is not supported by this driver'); } Index: pear/MDB/tests/MDB_usage_testcase.php diff -u pear/MDB/tests/MDB_usage_testcase.php:1.41 pear/MDB/tests/MDB_usage_testcase.php:1.42 --- pear/MDB/tests/MDB_usage_testcase.php:1.41 Wed Sep 3 11:10:22 2003 +++ pear/MDB/tests/MDB_usage_testcase.php Mon Sep 8 13:47:22 2003 @@ -41,7 +41,7 @@ // | Author: Paul Cooper <pgc@ucecom.com> | // +----------------------------------------------------------------------+ // -// $Id: MDB_usage_testcase.php,v 1.41 2003/09/03 15:10:22 lsmith Exp $ +// $Id: MDB_usage_testcase.php,v 1.42 2003/09/08 17:47:22 lsmith Exp $ class MDB_Usage_TestCase extends PHPUnit_TestCase { //contains the dsn of the database we are testing @@ -436,7 +436,7 @@ * Test the use of setLimit to return paged queries */ function testRanges() { - if (!$this->supported('limit_querys')) { + if (!$this->supported('limit_queries')) { return; }

« previous php.pear.cvs (#12554) next »