Author: uwendel
Date: 2007-09-04 20:48:47 +0200 (Tue, 04 Sep 2007)
New Revision: 986
Modified:
trunk/tests/ext/mysqli/bug42378.phpt
Log:
Adding more expected output to simplify debugging.
Modified: trunk/tests/ext/mysqli/bug42378.phpt
===================================================================
--- trunk/tests/ext/mysqli/bug42378.phpt 2007-09-04 18:45:48 UTC (rev 985)
+++ trunk/tests/ext/mysqli/bug42378.phpt 2007-09-04 18:48:47 UTC (rev 986)
@@ -20,6 +20,7 @@
mysqli_errno($link), mysqli_error($link));
return array();
}
+ print "$column\n";
$sql = sprintf("CREATE TABLE test(id INT AUTO_INCREMENT PRIMARY KEY, col1 %s)
ENGINE=%s",
$column, $engine);
@@ -55,6 +56,7 @@
mysqli_errno($link), mysqli_error($link));
return false;
}
+ print "$format\n";
if ($order_by)
$sql = sprintf('SELECT %s AS _format FROM %s ORDER BY %s', $format, $from, $order_by);
@@ -180,4 +182,12 @@
print "done!";
?>
--EXPECTF--
+FLOAT
+FORMAT(col1, 0)
+FLOAT
+id AS order_by_col, FORMAT(col1, 0)
+FLOAT UNSIGNED
+id AS order_by_col, FORMAT(col1, 0)
+DECIMAL(5,0)
+id AS order_by_col, FORMAT(col1, 0)
done!
\ No newline at end of file
| Thread |
|---|
| • PHP mysqlnd svn commit: r986 - trunk/tests/ext/mysqli | uwendel | 4 Sep |