WhatCD / Gazelle

http://whatcd.github.io/Gazelle/
1.84k stars 363 forks source link

QueryID not cleared when calling close() #67

Closed 312c closed 9 years ago

312c commented 9 years ago

The following procedure causes an issue: 1) Create a new DB_MYSQL instance 2) Make a call to query() 3) Make a call to close() 4) Make another call to query()

Line 219 still sees a QueryID as existing so when it calls warnings(), Line 401 causes an error because LinkID is false and mysqli_warning_count is not expecting a boolean parameter.