src/SqlHandler.h
branchv_0
changeset 58 a4907b207f0c
parent 48 c83119110c7b
child 59 a1775ba6d056
equal deleted inserted replaced
57:723621f9b14a 58:a4907b207f0c
    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 ;)