revert some changes in mscommon
This commit is contained in:
parent
c8c7bfad57
commit
655cd218b1
|
@ -175,7 +175,7 @@ function GetTempTableName($table = '', $temporary = true)
|
|||
// dropped once the connection is closed. Otherwise, the caller
|
||||
// should take care of dropping the temp table afterwards.
|
||||
|
||||
$timestamp = round(microtime(true)*1000);
|
||||
$someNumber = rand(0, 1000);
|
||||
|
||||
$prefix = '';
|
||||
if ($temporary)
|
||||
|
@ -184,7 +184,7 @@ function GetTempTableName($table = '', $temporary = true)
|
|||
if (strlen($table) == 0)
|
||||
$table = 'php_test_table';
|
||||
|
||||
return $prefix . $table . '_' . $timestamp;
|
||||
return $prefix . $table . '_' . $someNumber;
|
||||
}
|
||||
|
||||
function GetTempProcName($proc = '', $temporary = true)
|
||||
|
@ -193,7 +193,7 @@ function GetTempProcName($proc = '', $temporary = true)
|
|||
// automatically dropped once the connection is closed. Otherwise,
|
||||
// the caller should take care of dropping the temp procedure afterwards.
|
||||
|
||||
$timestamp = round(microtime(true)*1000);
|
||||
$someNumber = rand(0, 1000);
|
||||
|
||||
$prefix = '';
|
||||
if ($temporary)
|
||||
|
@ -202,7 +202,7 @@ function GetTempProcName($proc = '', $temporary = true)
|
|||
if (strlen($proc) == 0)
|
||||
$proc = 'php_test_proc';
|
||||
|
||||
return $prefix . $proc . '_' . $timestamp;
|
||||
return $prefix . $proc . '_' . $someNumber;
|
||||
}
|
||||
|
||||
function ExecuteQuery($conn, $query)
|
||||
|
|
Loading…
Reference in a new issue