From bad91d8e74eea420d9ea7d9a0ac0ecf47d23fdb7 Mon Sep 17 00:00:00 2001
From: Andreas Fischer <bantu@phpbb.com>
Date: Tue, 22 May 2012 18:41:15 +0200
Subject: [PATCH] [ticket/10907] Mark (var)binary tests as incomplete on
 non-MySQL DBMSes.

PHPBB3-10907
---
 tests/dbal/db_tools_test.php | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/dbal/db_tools_test.php b/tests/dbal/db_tools_test.php
index 9bed0648cd..c20e46011f 100644
--- a/tests/dbal/db_tools_test.php
+++ b/tests/dbal/db_tools_test.php
@@ -165,6 +165,11 @@ class phpbb_dbal_db_tools_test extends phpbb_database_test_case
 	*/
 	public function test_created_column($column_name, $column_value)
 	{
+		if ($column_name === 'c_varbinary' && stripos(get_class($this->db), 'mysql') === false)
+		{
+			$this->markTestIncomplete('Binary handling is not implemented properly on non-MySQL DBMSes.');
+		}
+
 		$row_insert = self::get_default_values();
 		$row_insert[$column_name] = $column_value;