Bug #17920: A strange behaviour of mysql_query
| From: | josef dot buk at vol dot cz | Date: | Sat, 22 Jun 2002 11:26:43 +0000 |
| Subject: | Bug #17920: A strange behaviour of mysql_query | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-11774@lists.php.net to get a copy of this message | ||
From: josef.buk@vol.cz
Operating system: WXP Pro
PHP version: 4.2.1
PHP Bug Type: MySQL related
Bug description: A strange behaviour of mysql_query
This code is functional:
$query='alter table aaa add (ahoj TINYINT)';
mysql_db_query($db,$query,$link);
but obsolent
This code is not functional:
$query='alter table aaa add (ahoj TINYINT)';
mysql_select_db($db,$link);
mysql_query($db,$query,$link);
This error is reported:
ErrNo=7: Error on rename of '.\Provoz\aaa.MYI' to
'.\Provoz\#sql2-770-2f.MYI' (Errcode: 13)
--
Edit bug report at http://bugs.php.net/?id=17920&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17920&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17920&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17920&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17920&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17920&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17920&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17920&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17920&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17920&r=globals