Skip to content

Instantly share code, notes, and snippets.

@kazuho
Last active December 13, 2015 23:49
Show Gist options
  • Save kazuho/4994203 to your computer and use it in GitHub Desktop.
Save kazuho/4994203 to your computer and use it in GitHub Desktop.
patch required for Q4M on MySQL 5.6.10, to support: SELECT * FROM t WHERE queue_wait('t')
--- sql/item_func.h.orig 2013-02-20 18:07:38.000000000 +0900
+++ sql/item_func.h 2013-02-20 19:04:55.000000000 +0900
@@ -1358,7 +1358,6 @@
void cleanup();
Item_result result_type () const { return udf.result_type(); }
table_map not_null_tables() const { return 0; }
- bool is_expensive() { return 1; }
virtual void print(String *str, enum_query_type query_type);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment