mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-24 22:02:44 -06:00
Sql: Scrip fixed begin/end issue
git-svn-id: svn://ultimatepp.org/upp/trunk@8092 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
f9f666004a
commit
9b0e309203
1 changed files with 2 additions and 2 deletions
|
|
@ -27,9 +27,9 @@ bool SqlPerformScript(SqlSession& session, Stream& script,
|
|||
bool esc = false;
|
||||
while(!script.IsEof()) {
|
||||
int c = script.Term();
|
||||
if(IsAlpha(c)) {
|
||||
if(IsAlpha(c) || c == '_') {
|
||||
String id;
|
||||
while(IsAlpha(script.Term())) {
|
||||
while(IsAlNum(script.Term()) || script.Term() == '_') {
|
||||
c = script.Get();
|
||||
stmt.Cat(c);
|
||||
id.Cat(ToUpper(c));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue