You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is easy to fix this bug.
Go to Result.swift, in function readRow(), add 3 lines of code around line 80:
if let val = name {
switch cols[i].fieldType {
case MysqlTypes.MYSQL_TYPE_STRING:
row[cols[i].name] = name
break
case MysqlTypes.MYSQL_TYPE_VAR_STRING:
row[cols[i].name] = name
break
Hey,
i have connect to my MySQL DB and can't Select columns with Strings. Columns with Ints works.
the following case don't realize that the fieldType is String and returns null
case MysqlTypes.MYSQL_TYPE_VAR_STRING:
What works wrong?
The text was updated successfully, but these errors were encountered: