projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Remove all "magic number" DBI get_info calls from the codebase
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
Storage
/
DBI
/
mysql.pm
diff --git
a/lib/DBIx/Class/Storage/DBI/mysql.pm
b/lib/DBIx/Class/Storage/DBI/mysql.pm
index
a0c0b52
..
dc7ff90
100644
(file)
--- a/
lib/DBIx/Class/Storage/DBI/mysql.pm
+++ b/
lib/DBIx/Class/Storage/DBI/mysql.pm
@@
-58,7
+58,7
@@
sub sql_maker {
my $maker = $self->next::method (@_);
# mysql 3 does not understand a bare JOIN
- my $mysql_ver = $self->_dbh_get_info(18);
+ my $mysql_ver = $self->_dbh_get_info('SQL_DBMS_VER');
$maker->{_default_jointype} = 'INNER' if $mysql_ver =~ /^3/;
}