New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
\i
command, bufio.Scanner: token too long
#290
Comments
We might try to use bufio.Reader.ReadLine() instead of a Line 1139 in b376ee5
Until we address this, I'd recommend using tools dedicated to a particular DB for loading a large amount of data, as |
I'd like to echo @nineinchnick -- perhaps one day |
Overhaul of \i and \ir file reading, changing to bufio.Reader.ReadLine in place of the previous bufio.Scanner. Related to #290.
@pricheal + @nineinchnick I just pushed a commit changing to |
Overhaul of \i and \ir file reading, changing to bufio.Reader.ReadLine in place of the previous bufio.Scanner. Related to xo#290.
@pricheal were you able to test this change? |
If I remember correctly I tested it and experienced the same issue |
When attempting to import a large sql file (mine was over 2 GB), I would eventually get the following error:
bufio.Scanner: token too long
The text was updated successfully, but these errors were encountered: