From 99af726a58eb0cd8923dc15d536dbb9c1af11e22 Mon Sep 17 00:00:00 2001 From: Brian Lopez Date: Fri, 6 Aug 2010 00:01:09 -0700 Subject: [PATCH] application_timezone is allowed to be nil --- ext/mysql2/result.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ext/mysql2/result.c b/ext/mysql2/result.c index b1850f4..6baa678 100644 --- a/ext/mysql2/result.c +++ b/ext/mysql2/result.c @@ -327,9 +327,6 @@ static VALUE rb_mysql_result_each(int argc, VALUE * argv, VALUE self) { } else if (appTz == sym_utc) { app_timezone = intern_utc; } else { - if (!NIL_P(appTz)) { - rb_warn(":application_timezone option must be :utc or :local - defaulting to :local"); - } app_timezone = intern_local; }