And binary tests should use addslahes at all. Testing cross-db right now.

This commit is contained in:
stronk7 2007-08-09 17:59:08 +00:00
parent a904349624
commit 838e92f788

View file

@ -799,7 +799,7 @@ class test extends XMLDBAction {
$test = new stdClass;
$test->status = false;
/// Build the record to insert
$rec->avatar = addslashes($fulltext);
$rec->avatar = $fulltext;
$rec->name = 'binarytest';
/// Calculate its length
$textlen = strlen($fulltext);
@ -830,7 +830,7 @@ class test extends XMLDBAction {
$test->sql = array();
/// Build the record to insert
$rec->intro = addslashes($basetext);
$rec->avatar = addslashes($basetext);
$rec->avatar = $basetext;
$rec->name = 'updatelobs';
/// Calculate its length
$textlen = $textlib->strlen($basetext);
@ -899,7 +899,7 @@ class test extends XMLDBAction {
$test->status = false;
$test->sql = array();
/// Build the record to insert
$rec->avatar = addslashes($fulltext);
$rec->avatar = $fulltext;
$rec->name = 'updatelobs';
/// Calculate its length
$textlen = strlen($fulltext);