Fixed PHP bug #51508, error in SQL example in mysql::commit() doc page

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297721 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Daniel Egeberg 2010-04-08 22:41:20 +00:00
parent ab195aca86
commit 15925a594d

View file

@ -56,7 +56,7 @@ if (mysqli_connect_errno()) {
exit();
}
$mysqli->query("CREATE TABLE Language LIKE CountryLanguage Type=InnoDB");
$mysqli->query("CREATE TABLE Language LIKE CountryLanguage");
/* set autocommit to off */
$mysqli->autocommit(FALSE);
@ -93,7 +93,7 @@ if (!$link) {
/* set autocommit to off */
mysqli_autocommit($link, FALSE);
mysqli_query($link, "CREATE TABLE Language LIKE CountryLanguage Type=InnoDB");
mysqli_query($link, "CREATE TABLE Language LIKE CountryLanguage");
/* Insert some values */
mysqli_query($link, "INSERT INTO Language VALUES ('DEU', 'Bavarian', 'F', 11.2)");