- Aug 16, 2002
-
-
Ben Goodwin authored
-
Ben Goodwin authored
-
Ben Goodwin authored
and_nss_mysql_count_tokens().
-
Ben Goodwin authored
Split #define's up for readability/flexibility. Run arg passed (username/uid/etc.) through MySQL's string cleanser; AS A RESULT ALL STRING FORMATS IN YOUR CONFIG MUST BE %s !!!
-
Ben Goodwin authored
Added _nss_mysql_escape_string().
-
Ben Goodwin authored
-
Ben Goodwin authored
-
- Aug 15, 2002
-
-
Ben Goodwin authored
-
Ben Goodwin authored
-
Ben Goodwin authored
-
- Jun 19, 2002
-
-
Ben Goodwin authored
-
Ben Goodwin authored
-
Ben Goodwin authored
-
Ben Goodwin authored
-
Ben Goodwin authored
-
Ben Goodwin authored
Woops, let's select the spnam fields for real!
-
- Jun 18, 2002
-
-
Ben Goodwin authored
-
Ben Goodwin authored
changes). Stop using mysql_ping - it's slow
-
Ben Goodwin authored
-
Ben Goodwin authored
-
Ben Goodwin authored
-
Ben Goodwin authored
Changed: DEF_DFLAGS (now 0) moved MySQL routines to mysql.c
-
Ben Goodwin authored
Use contants in a few appropriate areas
-
Ben Goodwin authored
can be defined, not multiple servers & queries; keeps things simpler
-
Ben Goodwin authored
-
Ben Goodwin authored
-
- Jun 06, 2002
-
-
Ben Goodwin authored
-
Ben Goodwin authored
-
Ben Goodwin authored
-
Ben Goodwin authored
Better method of saving to BUFFER Use generic memory alloc routines (which do their own logging)
-
Ben Goodwin authored
-
Ben Goodwin authored
*ent routines don't need PADSIZE additional bytes Use static storage for debug/log string
-
Ben Goodwin authored
-
Ben Goodwin authored
-
Ben Goodwin authored
-
Ben Goodwin authored
-
- May 31, 2002
-
-
Ben Goodwin authored
-
Ben Goodwin authored
-
Ben Goodwin authored
share the same state information (unlike before). So it's possible for poor code to step on it's own *ent routines; I found the glibc library uses the same state information for all functions, so I felt comfortable with this move. I may be proven wrong though ... Added a few functions so above state information can be accessed/set outside this source file. set ERANGE outside of find_eol Assume that buffer and structure are not NULL (nss_mysql.c now ensures this) CLOSE_ALL -> CLOSE_LINK; CLOSE_LINK now also CLOSE_RESULT's Removed unnecessary \n's on debug lines Check/set return types using enumerated constants instead of 0's and 1's ... _nss_mysql_log_error changed to _nss_mysql_log with prio arg removed debug - it's now in nss_mysql.c
-
Ben Goodwin authored
Removed unused FSIZ macro Removed unused D_ERROR; renumbered D_* defines Removed unnecessary CLOSE_ALL. CLOSE_LINK must CLOSE_RESULT anyway Removed unnecessary \n's on debug lines Added #defines for some configuration defaults Lots of new comments Added boolean and return types so we check/set returns via enumurated constants instead of 0's and 1's ... Added debug_flags to conf.global Rearranged some stuff for better readability
-