Fix CREATE TABLE tokenization

The token skipping function did not check for a period or an opening
parenthesis when parsing the test. Also fixed a debug assertion when only
NULL values were inserted.
This commit is contained in:
Markus Mäkelä
2018-02-01 13:46:28 +02:00
parent 943c82b33b
commit 7093a5bdf8
2 changed files with 19 additions and 2 deletions

View File

@ -1251,7 +1251,7 @@ static void skip_token(const char** saved)
{
const char* ptr = *saved;
while (*ptr && !isspace(*ptr))
while (*ptr && !isspace(*ptr) && *ptr != '(' && *ptr != '.')
{
ptr++;
}