Errata

MySQL Cookbook

Errata for MySQL Cookbook

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date Submitted
Printed Page 338
3rd paragraph plus usage in the 5th, and 8th Paragraphs.

In Recipe 8.12 you use FLOOR((X+(N-1)/N) to get the first integer that is equal to or greater than X/N. While this formula works, its use is more complex then just using the correct call for this purpose: CEILING(X/N).

Robert A. Rosenberg  Jan 15, 2010 
Printed Page 18.6
store_image.pl (sample code)

Code as written:
"my $mime_time = shift (@ARGV); # image MIME type"

Code as probably intended:
"my $mime_type = shift (@ARGV); # image MIME type"

Anonymous   
Printed Page 66
Code fragment at bottom of page

Perl code print (warn) statement ends with en rather than
.
This has an interesting effect when executed in an xterm.
It can be cleared by 'reset' or 'tput reset'.

Anonymous