-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trancate long text from VARCHAR(5000) [PYFB25] #48
Comments
Modified by: nepomnyashiy evgeniy (nepomnyashiy evgeniy)description: I have table with field One record have text of about 2500 chars in this field. With kinterbasdb this works fine => I have table with field One record have text of about 2500 chars in this field. cur = con.cursor() With kinterbasdb this works fine |
Commented by: nepomnyashiy evgeniy (nepomnyashiy evgeniy) see fbcore, line 2075 elif vartype == SQL_VARYING: replace selected string with |
Commented by: Slava (slava) I also ran into this problem. Today I played with driver code and wrote small fix, exactly like your evgeniy. |
Modified by: @pcisarstatus: Open [ 1 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: 1.0 [ 10500 ] |
Modified by: @pcisarstatus: Resolved [ 5 ] => Closed [ 6 ] |
Submitted by: nepomnyashiy evgeniy (nepomnyashiy evgeniy)
I have table with field
"field" "Text" /* "Text" = VARCHAR(5000) */,
One record have text of about 2500 chars in this field.
If I select this record, I receive only 213 chars.
cur = con.cursor()
cur.execute('SELECT "field" from "table" where id=?', [id])
for m in cur.itermap():
print m["field"]
With kinterbasdb this works fine
Commits: 3354699
The text was updated successfully, but these errors were encountered: