Hi

Dne Mon, 13 Oct 2014 20:23:28 +0200
Paul Gevers <[email protected]> napsal(a):

> On 13-10-14 15:04, Michal Čihař wrote:
> > It's rather there are missing quotes around database name in
> > dbc_mysql_createdb.
> 
> You are talking about this line?
> _dbc_nodb="yes" dbc_mysql_exec_command "CREATE DATABASE
> $dbc_dbname${extrasql:-}"
> 
> Should it be the following:
> _dbc_nodb="yes" dbc_mysql_exec_command "CREATE DATABASE
> `$dbc_dbname${extrasql:-}`"

I don't know what extrasql is, but to me it sounds more like it should
be:

_dbc_nodb="yes" dbc_mysql_exec_command "CREATE DATABASE
`$dbc_dbname`${extrasql:-}"

-- 
        Michal Čihař | http://cihar.com | http://blog.cihar.com

Attachment: signature.asc
Description: PGP signature

Reply via email to