Skip to content
This repository has been archived by the owner on Mar 4, 2019. It is now read-only.

Commit

Permalink
Merge pull request #7 from Kwal/master
Browse files Browse the repository at this point in the history
Fix for multiple results from subquery
  • Loading branch information
robconery committed Feb 19, 2013
2 parents 9f35d26 + b6c3abf commit e5dcaf2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/mysql.js
Expand Up @@ -19,6 +19,7 @@ var MySQL = function(credentials){
select column_name from \
information_schema.key_column_usage \
where table_name = ist.table_name \
and constraint_schema = ist.table_schema \
and constraint_name = 'PRIMARY' \
) as 'pk' \
from information_schema.tables ist \
Expand Down

0 comments on commit e5dcaf2

Please sign in to comment.