mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
ab195aca86
commit
15925a594d
1 changed files with 2 additions and 2 deletions
|
@ -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)");
|
||||
|
|
Loading…
Reference in a new issue