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
Along with enum SqlVarType SqlVar::getType() and std::vector<enum SqlVarType> param_types; - cast to/from int where absolute necessary - but keep as enum wherever possible.
This would ease debugging and for some places may provide type safety, too.
The text was updated successfully, but these errors were encountered:
This, among other things, is an holdover from the C/ocesql roots of GixSQL, there are also a few places where pointer lists are passed as int * plus an additional int for length, instead of something like const std::vector<int>& (or string). This needs to change, for all the reasons you enumerated.
Along with
enum SqlVarType SqlVar::getType()
andstd::vector<enum SqlVarType> param_types;
- cast to/from int where absolute necessary - but keep as enum wherever possible.This would ease debugging and for some places may provide type safety, too.
The text was updated successfully, but these errors were encountered: