Fixes in db class tests files
This commit is contained in:
1 parent
7eace1013e
commit
959240b0fa
1 file changed
+1
-1
@@ -317,7 +317,7 @@ echo "<hr>";
|
|||||||
// binary insert tests
|
// binary insert tests
|
||||||
$filename = $db->dbEscapeLiteral('class_test.db.php');
|
$filename = $db->dbEscapeLiteral('class_test.db.php');
|
||||||
$rand_bin_uid = $db->dbEscapeLiteral(\CoreLibs\Create\Uids::uniqIdShort());
|
$rand_bin_uid = $db->dbEscapeLiteral(\CoreLibs\Create\Uids::uniqIdShort());
|
||||||
$binary_data = $db->dbEscapeBytea(file_get_contents('class_test.db.php'));
|
$binary_data = $db->dbEscapeBytea(file_get_contents('class_test.db.php') ?: '');
|
||||||
$query = <<<EOM
|
$query = <<<EOM
|
||||||
INSERT INTO binary_test (
|
INSERT INTO binary_test (
|
||||||
filename, uid, binary_data
|
filename, uid, binary_data
|
||||||
|
|||||||
Reference in new issue
Block a user