MySQL Cookbook, 3rd Edition - Errata

This document lists the known errors for the book:

MySQL Cookbook, 3rd Edition
Paul DuBois
O'Reilly Media
2014
ISBN 978-1-4493-7402-0
[book information]
Number of items: 2
Date of most recently reported item: 2014-07-27

Sort by: [page number] [most recent errata first]
Date 2014-07-27
Page 0
Reported by Paul DuBois
Description I changed the Ruby scripts to remove the -w option from the initial #!/usr/bin/ruby line. This option can be useful for finding possible problems (as mentioned in Recipe 2.1), but causes more warnings with Ruby 1.9 and up than with Ruby 1.8, some of which may originate from with libraries that are not easily changed. Removing -w silences these warnings.

Date 2014-07-27
Page 0
Reported by Paul DuBois
Description recipes/metadata/get_rs_meta.py: In Recipe 10.2, this Python script shows how to determine whether a statement produces a result set. It originally checked whether there are any columns using this test: if cursor.description is None. Although that works, Connector/Python cursor objects have a with_rows property designed for that purpose, so the script now uses that property instead. Also, to avoid an exception, the code that enumerates cursor.description no longer executes if there are no columns.

This document is maintained by Paul DuBois. Please report any errors you find in the book that are not already listed here.