Calling all Drupal developers!
Help us get this on the first page of Digg. DIGG NOW!
Help us get this on the first page of Digg. DIGG NOW!
drush_sql_version_client()
contributions/drush/drush_sql/drush_sql.module, line 85
Command callback. Displays the MySQL or PostgreSQL client version number.
<?php
function drush_sql_version_client() {
switch (_drush_sql_get_scheme()) {
case 'mysql':
case 'mysqli':
drush_print(mysql_get_client_info());
break;
case 'pgsql':
$info = pg_version();
drush_print($info['client']);
break;
default:
drush_die(_drush_sql_get_invalid_url_msg());
}
}
?>