Skip to content
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

ChopBlanks #345

Open
kuerbis opened this issue Jul 1, 2022 · 0 comments
Open

ChopBlanks #345

kuerbis opened this issue Jul 1, 2022 · 0 comments

Comments

@kuerbis
Copy link

kuerbis commented Jul 1, 2022

ChopBlanks

this attribute determines whether a fetchrow will chop preceding and trailing blanks off the column values. Chopping blanks does not have impact on the max_length attribute.

If I am not mistaken, only the trailing blanks are chopped.

From the DBI documentation:

ChopBlanks

Type: boolean, inherited

The ChopBlanks attribute can be used to control the trimming of trailing space characters from fixed width character (CHAR) fields. No other field types are affected, even where field values have trailing spaces.

Maybe you could mention that the DBD::mysql ChopBlanks affects also text data types which are not CHAR.

dbdimp.c line 4317
http://www.mysql.org/doc/refman/5.0/en/c-api-datatypes.html => Page Not Found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant