Hi!

I was trying to execute a script where a CREATE DATABASE statement is
broken into four lines:
CREATE DATABASE 'raracodiag.fdb'
USER 'SYSDBA' PASSWORD 'masterkey'
PAGE_SIZE 8192
DEFAULT CHARACTER SET ISO8859_1;

After parsing the script, it remains one statement. The problem
happens in FbBatchExecution.CreateDatabase: the filename becomes
"RARACODIAG.FDB\n\rUSER", because this method uses StringParser to
break the statement to parts at spaces. Shouldn't it look for any
whitespace character instead of space characters? Or should
FbScript.Parse() collapse any whitespace into single space character,
but only if this is not inside a quoted string?

Gabor

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to