From 532cecf8a28c814596d86b3f171255be81064cdb Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Mon, 19 Mar 2012 12:14:31 -0400 Subject: [PATCH] Changed Firebird_Result::execute to use the same instance --- drivers/firebird.php | 4 +++- tests/test_dbs/FB_TEST_DB.FDB | Bin 802816 -> 802816 bytes tests/test_dbs/test_sqlite.db | Bin 3072 -> 3072 bytes 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/firebird.php b/drivers/firebird.php index 5bbef60..295442e 100644 --- a/drivers/firebird.php +++ b/drivers/firebird.php @@ -480,7 +480,9 @@ class Firebird_Result { // Let php do all the hard stuff in converting // the array of arguments into a list of arguments - return new Firebird_Result(call_user_func_array('fbird_execute', $args)); + $this->__construct(call_user_func_array('fbird_execute', $args)); + + return $this; } // -------------------------------------------------------------------------- diff --git a/tests/test_dbs/FB_TEST_DB.FDB b/tests/test_dbs/FB_TEST_DB.FDB index 504a126d78a255f989e1c1206f475939af495e39..719164c685cac762c02b8ac823e67017ca82baa7 100755 GIT binary patch delta 376 zcmZo@Fl=Zr^kZbOG+>irKmY;m24*M^MDLYgU^oQC3=B++vu`mlgqWXK4;O(b5MW>e z!UQmf5lHTp*sPeaiN8spO@OgYfT>M@xlMqjO@OscfUQk{y-k3lO@MQo02hk@G!MqF}UWOCA3Jgnll^7a$ zl^G&ajP-zpT6<|w>RUS=^Nj1%P}%fzwnM*#c&tYASMQ& zK@6r0Fg}RK$oS(gjL!g(XWTTs@iD|egXyOpaZ69{e8+7#o$C>|o2~Acs delta 399 zcmZo@Fl=Zr^kZbOH25LOfB*vA4a`s;h+Z$jz_0~~85o!tXWwFA2r)me?jr(GAi%%` zgb82{BamD#u~{);6MvIHn*d{*08^U)bDIE5n*eK@09%^?dz%19n*irF0WKB+#;w~~ z6}W8J7@0Q)?&EAT;M!)u&9cFt5oR&Oc!n@WeufraRWPrFmzQA;uNqVaLS5lgVA#N? z1Q+Y!Q)Wov(_nA_(h_{C+k+o)i}FnW@Q_=8k!?ETBW?p%aRvsELz#dWNdIMGFf?HS zdTt+BjFEv6C=cTUc|eGe2kBsBFlG27KE3Y=w-?iI@#*Itb1P3j`+!?q5EMcnL%@oP zi;cHTuYAL;$jCf>_8V?p#x2uNzTtLe+%!G*0k`6Gt9RTc(>FcfmY&}Ej@yutVf*fP H+^&HD&qqxC diff --git a/tests/test_dbs/test_sqlite.db b/tests/test_dbs/test_sqlite.db index 8e79120f554c7eca536495c9aeed1d7886e432e6..c01754e1d3bdbd76d8f9a1847bff575ced3fe900 100644 GIT binary patch delta 17 YcmZpWXpop7&6qGz#+fl;W5NP%04^g1N&o-= delta 17 YcmZpWXpop7%@{dR#+fm4W5NP%04=%&JOBUy