Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

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

From: <ahristov(at)mysql.com>
Date: Tue Jul 17 2007 - 12:20:40 EDT


Author: ahristov
Date: 2007-07-17 18:20:40 +0200 (Tue, 17 Jul 2007) New Revision: 776

Added:

   trunk/tests/ext/mysqli/skipifunicode.inc Modified:

   trunk/tests/ext/mysqli/mysqli_character_set.phpt Log:
There is something wrong with SKIPIF sections. Again doesn't work for me, like in 067.phpt. Had to embed it inside the test.

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


  • trunk/tests/ext/mysqli/mysqli_character_set.phpt 2007-07-17 15:40:58 UTC (rev 775) +++ trunk/tests/ext/mysqli/mysqli_character_set.phpt 2007-07-17 16:20:40 UTC (rev 776) @@ -1,6 +1,7 @@
    --TEST--
    Fetching results from tables of different charsets.
    --SKIPIF--
    +<?php require_once('skipifunicode.inc'); ?> <?php require_once('skipif.inc'); ?> <?php require_once('skipifemb.inc'); ?>
    --FILE--
    @@ -10,6 +11,11 @@ $tmp = NULL; $link = NULL;
+	if (ini_get("unicode.semantics")){
+		die('done!');
+	}
+
+
 	if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket))
 		printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
 			$host, $user, $db, $port, $socket);

Added: trunk/tests/ext/mysqli/skipifunicode.inc


  • trunk/tests/ext/mysqli/skipifunicode.inc 2007-07-17 15:40:58 UTC (rev 775) +++ trunk/tests/ext/mysqli/skipifunicode.inc 2007-07-17 16:20:40 UTC (rev 776) @@ -0,0 +1,5 @@ +<?php +if (ini_get("unicode.semantics")){ + die('skip Test doesn't work in Unicode mode'); +} +?>
-- 
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 Tue Jul 17 13:19:59 2007

This archive was generated by hypermail 2.1.8 : Thu Aug 09 2007 - 19:07:26 EDT


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