Minor update to remove warning
mark at champ.tstonramp.com
Tue Oct 5 13:42:52 EDT 1999
> Quick question, should the setting of the local stuff be a copy instead of
> a pointer assignment? We had this problem in USERDATA and decided that
> "buffer" is not a permanent address.
I think it probably should copy the data into the tds_login structure,
except that only has the language and char_set locale attributes. Since
cs_loc_alloc() never creates a CS_LOCALE and since there is never a (CS_GET,
CS_LOC_PROP) passed to ct_con_props() by DBD::Sybase it shouldn't matter.
I wasn't trying to implement it, just get rid of the warning message and
leave things a little better off for the next person who works on it.
Mark J. Schaal Phone: (909) 620-7724
TST On Ramp Fax: (909) 620-8174
System Administrator E-Mail: mark at tstonramp.com
More information about the FreeTDS