| Bug #32476 | unknown table when trying to drop a table and open files limit had been reached | ||
|---|---|---|---|
| Submitted: | 18 Nov 2007 7:45 | Modified: | 6 Oct 2009 9:56 |
| Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: General | Severity: | S3 (Non-critical) |
| Version: | 5.1.22, 5.1 bzr | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
[18 Nov 2007 7:45]
Shane Bester
[24 Aug 2008 14:33]
Sveta Smirnova
Bug #38938 was marked as duplicate of this one.
[6 Oct 2009 9:56]
Sveta Smirnova
Thank you for the report.
Verified as described.
Test used:
<?php
mysql_connect('127.0.0.1:3351', 'root', '');
mysql_select_db('test');
for ($i = 0; $i < 10000; $i ++) {
$result = mysql_query("drop table if exists t_$i");
if (0 != mysql_errno())
break;
$result = mysql_query("create table t_$i (id int)");
if (0 != mysql_errno())
break;
$result = mysql_query("select * from t_$i");
if (0 != mysql_errno())
break;
}
var_dump(mysql_error());
mysql_close();
?>
