Skip to content

Instantly share code, notes, and snippets.

@rkitover
Created March 2, 2012 18:17
Show Gist options
  • Save rkitover/1960163 to your computer and use it in GitHub Desktop.
Save rkitover/1960163 to your computer and use it in GitHub Desktop.
diff --git a/t/746mssql.t b/t/746mssql.t
index 6557d49..3dc602f 100644
--- a/t/746mssql.t
+++ b/t/746mssql.t
@@ -382,7 +382,7 @@ SQL
},
{
prefetch => 'books',
- order_by => { -asc => \['name + ?', [ test => 'xxx' ]] }, # test bindvar propagation
+ order_by => { -asc => [\['name + ?', [ test => 'xxx' ]],'id'] }, # test bindvar propagation
group_by => [ map { "me.$_" } $schema->source('Owners')->columns ], # the literal order_by requires an explicit group_by
rows => 3, # 8 results total
unsafe_subselect_ok => 1,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment