From: <pc...@us...> - 2007-06-28 14:00:29
|
Revision: 292 http://svn.sourceforge.net/firebird/?rev=292&view=rev Author: pcisar Date: 2007-06-28 07:00:27 -0700 (Thu, 28 Jun 2007) Log Message: ----------- QA-24 - Test for CORE-1010 New test version for Firebird 2.1 (starting from Beta 1) Added Paths: ----------- qa/trunk/testsuite/bugs.qms/core_1010-21.qmt Added: qa/trunk/testsuite/bugs.qms/core_1010-21.qmt =================================================================== --- qa/trunk/testsuite/bugs.qms/core_1010-21.qmt (rev 0) +++ qa/trunk/testsuite/bugs.qms/core_1010-21.qmt 2007-06-28 14:00:27 UTC (rev 292) @@ -0,0 +1,33 @@ +<?xml version="1.0" ?><!DOCTYPE extension PUBLIC '-//QM/2.3/Extension//EN' 'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'><extension class="fbqa.FirebirdTest" kind="test"><argument name="create_db_method"><enumeral>Create New</enumeral></argument><argument name="user_password"><text>masterkey</text></argument><argument name="sql_dialect"><enumeral>3</enumeral></argument><argument name="result_string"><text/></argument><argument name="character_set"><enumeral>NONE</enumeral></argument><argument name="author"><text>pcisar</text></argument><argument name="page_size"><enumeral>Default</enumeral></argument><argument name="substitutions"><set/></argument><argument name="backup_file_path"><text/></argument><argument name="user_name"><text>SYSDBA</text></argument><argument name="resources"><set/></argument><argument name="expected_stderr"><text>Statement failed, SQLCODE = -607 +unsuccessful metadata update +-STORE RDB$PROCEDURES failed +-exception 1 +-RDB$TEST +-Test +</text></argument><argument name="target_version"><text>2.1</text></argument><argument name="description"><text>We have a local buffer overrun in DYN_error(), while copying tdbb_status_vector to local_status. It seems to be the first time (DYN errors + stack trace facility) when 20 status words are not enough to store the complete error info. </text></argument><argument name="target_group"><text>.*</text></argument><argument name="populate_method"><enumeral>None (manual)</enumeral></argument><argument name="bug_id"><text>CORE-1010</text></argument><argument name="data_tuple"><text/></argument><argument name="db_name"><text>bug</text></argument><argument name="isql_script"><text/></argument><argument name="source_code"><text>CREATE EXCEPTION RDB$TEST 'Test'; + +commit; + +set term ^ ; + +CREATE OR ALTER TRIGGER RDB$PROCEDURES_BIU FOR RDB$PROCEDURES +ACTIVE AFTER UPDATE OR DELETE POSITION 0 +as +begin + EXCEPTION RDB$TEST; +end^ + +commit^ + +create or alter procedure proctest + returns (result integer) +as +begin + result = 0; + suspend; +end^ + +set term ; ^ + +commit; +</text></argument><argument name="test_id"><text>core_1010</text></argument><argument name="target_platform"><text>All</text></argument><argument name="insert_statement"><text/></argument><argument name="test_expr"><text/></argument><argument name="statement_type_and_result"><enumeral>SQL: String</enumeral></argument><argument name="prerequisites"><set/></argument><argument name="title"><text>Local buffer overrun in DYN_error() that takes down the server</text></argument><argument name="drop_db"><enumeral>true</enumeral></argument><argument name="db_path_property"><text>database_location</text></argument></extension> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |