FredyH / MySQLOO

MySQLOO
GNU Lesser General Public License v2.1
140 stars 55 forks source link

Make version check a pcall #81

Closed Meachamp closed 3 years ago

Meachamp commented 3 years ago

http.Fetch now throws an error if the http interface hasn't been initialized yet. If MySQL happens to make a request early enough, this will cause the server to segfault. Changing this to a PCall addresses the crash.