5 Run multiple copies of this php script at the same time
6 to test unique generation of id's in multiuser mode
8 include_once('../adodb.inc.php');
10 include_once('testdatabases.inc.php');
12 function testdb(&$db,$createtab="create table ADOXYZ (id int, firstname char(24), lastname char(24), created date)")
16 $db->Execute("drop table $table");
23 $num = $db->GenID($table);
25 print "GenID returned false";
28 if ($lastnum +
1 == $num) print " $num ";
30 print " <font color=red>$num</font> ";