Description:
Exception = System.AccessViolationException
Message = Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
FullText = System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at Sql_editor.check_sql(Sql_editor* , shared_ptr<Sql_editor>* , Boolean )
at MySQL.Grt.Db.Sql.Sql_editor.check_sql()
at MySQL.Grt.Db.Sql.SqlEditor.CheckSyntax()
at MySQL.Grt.Db.Sql.SqlEditor.BackgroundActionTimer(Object obj, EventArgs args)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
How to repeat:
I have a script that I am using to create a database with multiple tables and multiple csv files to populate those tables. for some reason the commas within fields are being read as separators even with the field being surrounded with double quotes. Also I keep finding fields that are longer in the csv file then i have allotted in my table creation. hence I keep getting a lot of errors, and then have to go into the script or the csv file to correct for them. when i make a correction, i save and reload the script if i changed the script and rerun the script. I have been doing it for hours now.