#22171 [Fbk->Bgs]: Support of Transaction Control Statements

From: Date: Fri, 14 Feb 2003 11:16:23 +0000
Subject: #22171 [Fbk->Bgs]: Support of Transaction Control Statements
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-33164@lists.php.net to get a copy of this message
ID: 22171 Updated by: hholzgra@php.net Reported By: werner.schuermann@cneweb.de -Status: Feedback +Status: Bogus Bug Type: MySQL related Operating System: NT2000 PHP Version: 4.3.0 New Comment: you have to use mysql_query("begin"); not mysql_query(begin); Previous Comments: ------------------------------------------------------------------------ [2003-02-11 16:55:01] georg@php.net Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Could you please provide a short sample of code?! (only query related part of code) ------------------------------------------------------------------------ [2003-02-11 11:40:59] werner.schuermann@cneweb.de I´m using MySQL Version 4.0.8 Gamma Release and PHP 4.3. There is the transaction control implemented. Now I tried to use the statements "set autocommit=0, begin, commit or rollback" within a php-script. At runtime I have got an error: Notice: Use of undefined constant BEGIN - assumes 'BEGIN' in test.php on line xx. The control statements in MySQL are correctly functioning ! I think the transaction control statements aren't supported in PHP yet. Are you able to advice me ? Many Thanks, Werner Schuermann ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22171&edit=1

« previous php.bugs (#33164) next »