Hi!
If you come across something which you either feel needs to be
clarified or have a recommendation, add it as a question with
suggestion to the Codesytle piece on Wikia.
I am still updating it as I come across stuff.
Cheers,
-Brian
On Aug 2, 2008, at 1:39 PM, Mats Kindahl wrote:
Hi!
I'm going over the MyISAM code to eliminate pointless casts (I hate
casts), and am stumbling over several cases where there is "(uint)
(end
- something)". This can only work if end > something, so the cast is
pointless and I will remove it, but the problem is that in the event
that end < something (perhaps because of a bug), this will copy a very
large amount of data. I want to add assertions for those cases, but
are
we going to keep using DBUG_ASSERT() or will be go back to standard
assert()?
Just asking for opinions,
Mats Kindahl
--
Mats Kindahl
Lead Software Developer
Replication Team
MySQL AB, www.mysql.com
<mats.vcf>_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help : https://help.launchpad.net/ListHelp
--
_______________________________________________________
Brian "Krow" Aker, brian at tangent.org
Seattle, Washington
http://krow.net/ <-- Me
http://tangent.org/ <-- Software
_______________________________________________________
You can't grep a dead tree.
_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help : https://help.launchpad.net/ListHelp