equal
deleted
inserted
replaced
68 |
68 |
69 SqlInputScanner scanner; |
69 SqlInputScanner scanner; |
70 |
70 |
71 for (wchar_t ch; *input >> ch;) { |
71 for (wchar_t ch; *input >> ch;) { |
72 if (scanner.append(ch)) { |
72 if (scanner.append(ch)) { |
73 *sql << scanner.getAndReset().c_str(); |
73 *sql << scanner.getAndReset(); |
74 return true; |
74 return true; |
75 } |
75 } |
76 } |
76 } |
77 |
77 |
78 // TODO: support comments at the end of the script (after last ;) |
78 // TODO: support comments at the end of the script (after last ;) |