Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

PHP mysqlnd svn commit: r757 - trunk/tests/ext/mysqli

From: <ahristov(at)mysql.com>
Date: Fri Jul 13 2007 - 14:19:28 EDT


Author: ahristov
Date: 2007-07-13 20:19:28 +0200 (Fri, 13 Jul 2007) New Revision: 757

Modified:

   trunk/tests/ext/mysqli/mysqli_fetch_all_oo.phpt Log:
Fix test

Modified: trunk/tests/ext/mysqli/mysqli_fetch_all_oo.phpt


  • trunk/tests/ext/mysqli/mysqli_fetch_all_oo.phpt 2007-07-13 16:43:10 UTC (rev 756) +++ trunk/tests/ext/mysqli/mysqli_fetch_all_oo.phpt 2007-07-13 18:19:28 UTC (rev 757) @@ -217,18 +217,21 @@ func_mysqli_fetch_all_oo($link, $engine, "DECIMAL(10,2)", NULL, NULL, 400);
     // don't care about date() strict TZ warnings...

- func_mysqli_fetch_all_oo($link, $engine, "DATE", @date('Y-m-d'), @date('Y-m-d'), 410);
  • func_mysqli_fetch_all_oo($link, $engine, "DATE NOT NULL", @date('Y-m-d'), @date('Y-m-d'), 420); + $date = date('Y-m-d'); + func_mysqli_fetch_all_oo($link, $engine, "DATE", $date, $date, 410); + func_mysqli_fetch_all_oo($link, $engine, "DATE NOT NULL", $date, $date, 420); func_mysqli_fetch_all_oo($link, $engine, "DATE", NULL, NULL, 430);
  • func_mysqli_fetch_all_oo($link, $engine, "DATETIME", @date('Y-m-d H:i:s'), @date('Y-m-d H:i:s'), 440);
  • func_mysqli_fetch_all_oo($link, $engine, "DATETIME NOT NULL", @date('Y-m-d H:i:s'), @date('Y-m-d H:i:s'), 450); + $datetime = date('Y-m-d H:i:s'); + func_mysqli_fetch_all_oo($link, $engine, "DATETIME", $datetime, $datetime, 440); + func_mysqli_fetch_all_oo($link, $engine, "DATETIME NOT NULL", $datetime, $datetime, 450); func_mysqli_fetch_all_oo($link, $engine, "DATETIME", NULL, NULL, 460);
  • func_mysqli_fetch_all_oo($link, $engine, "TIMESTAMP", @date('Y-m-d H:i:s'), @date('Y-m-d H:i:s'), 470); + func_mysqli_fetch_all_oo($link, $engine, "TIMESTAMP", $datetime, $datetime, 470);
  • func_mysqli_fetch_all_oo($link, $engine, "TIME", @date('H:i:s'), @date('H:i:s'), 480);
  • func_mysqli_fetch_all_oo($link, $engine, "TIME NOT NULL", @date('H:i:s'), @date('H:i:s'), 490); + $time = @date('H:i:s'); + func_mysqli_fetch_all_oo($link, $engine, "TIME", $time, $time, 480); + func_mysqli_fetch_all_oo($link, $engine, "TIME NOT NULL", $time, $time, 490); func_mysqli_fetch_all_oo($link, $engine, "TIME", NULL, NULL, 500);

     func_mysqli_fetch_all_oo($link, $engine, "YEAR", @date('Y'), @date('Y'), 510);

-- 
MySQL Code Commits Mailing List
For list archives: 
http://lists.mysql.com/commits
To unsubscribe:    
http://lists.mysql.com/commits?unsub=lists@pantek.com
Received on Fri Jul 13 14:19:32 2007

This archive was generated by hypermail 2.1.8 : Thu Aug 02 2007 - 01:56:16 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library