From 943c28d5a88155b9ff37477637550d0be5e4811d Mon Sep 17 00:00:00 2001
From: marko <>
Date: Thu, 25 Jun 2009 09:27:08 +0000
Subject: [PATCH] branches/zip: Replace a DBUG_ASSERT with ut_a to track down
 Issue #290.

---
 handler/ha_innodb.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/handler/ha_innodb.cc b/handler/ha_innodb.cc
index eb8e0b6226a..52850dec743 100644
--- a/handler/ha_innodb.cc
+++ b/handler/ha_innodb.cc
@@ -6247,7 +6247,7 @@ ha_innobase::create(
 	/* Our function row_get_mysql_key_number_for_index assumes
 	the primary key is always number 0, if it exists */
 
-	DBUG_ASSERT(primary_key_no == -1 || primary_key_no == 0);
+	ut_a(primary_key_no == -1 || primary_key_no == 0);
 
 	/* Create the keys */