php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57292 LOCK TABLES -> 'SQLSTATE[HY000]: General error: 2030'
Submitted: 2006-10-12 11:05 UTC Modified: 2008-05-08 11:01 UTC
From: fog at gmx dot de Assigned:
Status: Not a bug Package: PDO_MYSQL (PECL)
PHP Version: 5.1.4 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: fog at gmx dot de
New email:
PHP Version: OS:

 

 [2006-10-12 11:05 UTC] fog at gmx dot de
Description:
------------
The use of LOCK TABLES tablename WRITE causes an error on Linux servers while it runs perfect on windows machines. A PHP Script using LOCK TABLES would fail under Linux if used with PDO.

On the Linux Server the pdo_mysql Version is:
PDO Driver for MySQL, client library version 5.0.18 




Actual result:
--------------
Error Message without stack trace:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 2030 This command is not supported in the prepared statement protocol yet' in /home/gforge/printserver.gforge.iklk.de/visitenkarten-docs/lib/CB_NestedSet.class.php:665 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-05-08 11:01 UTC] johannes at schlueters dot de
No PDO_mysql issue, emulation is used by default.
 [2011-09-09 19:09 UTC] aa at ff dot com
shit
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Nov 12 20:01:33 2019 UTC