cvsuser 06/02/28 19:33:52
Modified: App-Repository/t DBI-select.t
Log:
change the meaning of param.eq
Revision Changes Path
1.14 +4 -4 p5ee/App-Repository/t/DBI-select.t
Index: DBI-select.t
===================================================================
RCS file: /cvs/public/p5ee/App-Repository/t/DBI-select.t,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- DBI-select.t 6 Feb 2006 04:20:17 -0000 1.13
+++ DBI-select.t 1 Mar 2006 03:33:52 -0000 1.14
@@ -275,14 +275,14 @@
select
first_name
from test_person
-where first_name in ('stephen','paul')
+where first_name = 'stephen,paul'
and age in (37,39)
- and birth_dt in ('1962-01-01','1963-12-31')
+ and birth_dt = '1962-01-01,1963-12-31'
EOF
$sql = $rep->_mk_select_sql("test_person",{
- "_order" => [ "first_name.eq", "age.eq", "birth_dt.eq", ],
+ "_order" => [ "first_name.eq", "age", "birth_dt.eq", ],
"first_name.eq" => "stephen,paul",
- "age.eq" => "37,39",
+ "age" => "37,39",
"birth_dt.eq" => "1962-01-01,1963-12-31",
},["first_name"]);
is($sql, $expect_sql, "_mk_select_sql(): param.eq => in");