FbScript and/or StringParser incorrect whitespace handling (FirebirdSql.Data.Isql namespace) --------------------------------------------------------------------------------------------
Key: DNET-310 URL: http://tracker.firebirdsql.org/browse/DNET-310 Project: .NET Data provider Issue Type: Bug Components: ADO.NET Provider Environment: Windows XP Professional SP3 (Hungarian), Microsoft.NET Framework 3.5 SP1 Reporter: Gábor Török Assignee: Jiri Cincura Priority: Minor The error happens for example when a statement is broken into more lines, like this: CREATE DATABASE 'DATABASENAME' 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 database name becomes "DATABASENAME\n\rUSER", because this method uses StringParser to break the statement to parts at spaces. Nor StringParser, nor FbScript.Parse() converts whitespaces other than space characters, and/or multiple whitespace characters into single space characters, but every function I checked assumes that tokens are separated by single space characters. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ 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 Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider