Skip to content

Commit

Permalink
use dynamic text size limit, see comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ilanschnell authored and ndmlny-qs committed Aug 31, 2023
1 parent af845c1 commit be7cb1f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/npcontainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@

// exported variables ----------------------------------------------------------

/* controls the maximum text field width */
Py_ssize_t iopro_text_limit = 1024;
/* controls the maximum text field width, a negative value indicates that the
text size limit will be dynamic based on the sql type, e.g. varchar (4000) */
Py_ssize_t iopro_text_limit = -1;

// -----------------------------------------------------------------------------

Expand Down

0 comments on commit be7cb1f

Please sign in to comment.