antonmks / Alenka

GPU database engine
Other
1.17k stars 120 forks source link

New error callback mechanism #62

Closed Randolph42 closed 10 years ago

Randolph42 commented 10 years ago

Anton, I have replaced many exit() calls with a call to process_error() This contents of which can be altered to taste; except for the critical call to the c callback routine - error_cb() Both routines have a severity parameter which is expected to be: 1) a warning or syntax level error, continue on 2) a fatal error; or 3) a more catastrophic system level error