0.12dev: Follow up to [8539], replaced type check with a number comparison, as SSQLite returns `int`s but MySQL and PostgreSQL return `long`s.
Part of #8616.
Authored by: rblank 2009-08-30
Parent: [r8542]
Child: [r8544]