[Bps-public-commit] dbix-searchbuilder branch, in-operator, updated. 1.63-3-g2025f04
Ruslan Zakirov
ruz at bestpractical.com
Sun Feb 3 07:03:10 EST 2013
The branch, in-operator has been updated
via 2025f0431f43e12b826b9293a977865d8f6e8cdb (commit)
from e37c201c2b4df2b73a21df77ee0f58af1a90fcc4 (commit)
Summary of changes:
t/01searches.t | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
- Log -----------------------------------------------------------------
commit 2025f0431f43e12b826b9293a977865d8f6e8cdb
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date: Sun Feb 3 15:59:24 2013 +0400
use real tables for the test to get self-join we need
temporary tables can not be used twice in the same query
diff --git a/t/01searches.t b/t/01searches.t
index ce01165..1957e6f 100644
--- a/t/01searches.t
+++ b/t/01searches.t
@@ -393,17 +393,20 @@ SKIP: {
package TestApp;
-sub schema_mysql {
-<<EOF;
-CREATE TEMPORARY TABLE Users (
+sub schema_mysql {[
+ "DROP TABLE IF EXISTS Users",
+<<EOF
+CREATE TABLE Users (
id integer AUTO_INCREMENT,
Login varchar(18) NOT NULL,
Name varchar(36),
Phone varchar(18),
PRIMARY KEY (id))
EOF
-
-}
+]}
+sub cleanup_schema_mysql { [
+ "DROP TABLE Users",
+] }
sub schema_pg {
<<EOF;
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list