| List: | Bugs | « Previous MessageNext Message » | |
| From: | jason king | Date: | February 25 2000 12:30am |
| Subject: | Documentation Bug | ||
| View as plain text | |||
there's a documentation bug in the distributed and online manual.html .. it's
in section 7.4.8 in the following context
mysql> select IF(strcmp('test','test1'),'yes','no');
-> 'no'
the `if' example using strcmp was done the wrong way round - implying that
strcmp('test','test1') returns 0 .. ye olde beginner C programmer mistake ;)
here's the diff output for patching
15565c15565
< -> 'no'
---
> -> 'yes'
--
jason king - jason@stripped -
squirrel web - www.squirrelweb.com.au -
| Thread | ||
|---|---|---|
| • Documentation Bug | jason king | 25 Feb |
| • Documentation Bug | Michael Widenius | 26 Feb |
