|
|
Choosing A Webhost: |
Patch for custom.pl: msg#00004db.mysql.c++
During the investigation of some SSQLS problem, I noticed that the custom.pl script generated unnecessary code for the set() functions, due to the $set variable not being emptied after a pass. Have a look at your custom-macros.h, look for "Begin Compare 3" and you'll notice that the elements 1,1,2,1,2,3 are being assigned, instead of just 1,2,3. While at it, I did some other changes, here is the summary: - Reset $set. - Have custom.pl work in strict+warning mode. - Generate sql_cmp() for unsigned long and long too. Pros: I saw no reason not to include them, and it allows to have long fields in SQLSS structures. All in all, nothing critical - for now. I'm indeed preparing a patch that lets one have nullable fields in a SQLSS struct... Best regards, -Waba.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: no version information available..., Chris Frey |
|---|---|
| Next by Date: | Re: Another newbie here..., Warren Young |
| Previous by Thread: | no version information available..., Brian Henning |
| Next by Thread: | Re: Patch for custom.pl, Warren Young |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |