← Back to team overview

randgen team mailing list archive

[Bug 838482] [NEW] STATUS_UNKNOWN_ERROR (2) on wrong grammar filename

 

Public bug reported:

=========
# 2011-09-01T11:40:17 # Creating MySQL table: test.table100_memory_key_pk_parts_2; engine: memory; rows: 100 .
# 2011-09-01T11:40:19 # Creating MySQL table: test.table100_memory_key_pk_parts_2_int_autoinc; engine: memory; rows: 100 .
# 2011-09-01T11:40:21 Loading Generator GenTest::Generator::FromGrammar.
Unable to open() grammar /randgen/conf/optimizer/archive/subquery_semijoin_nested2.yy: No such file or directory at lib/GenTest/Grammar.pm line 94.
# 2011-09-01T11:40:21 gentest.pl exited with exit status STATUS_UNKNOWN_ERROR (2)
2011-09-01T11:40:21 [21325] runall.pl will exit with exit status STATUS_UNKNOWN_ERROR (2)
=========

Maybe we could have a better exit status like STATUS_FILE_NOT_FOUND ?

** Affects: randgen
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Random
Query Generator Team, which is subscribed to Random Query Generator.
https://bugs.launchpad.net/bugs/838482

Title:
  STATUS_UNKNOWN_ERROR (2) on wrong grammar filename

Status in SQL Generator for testing SQL servers (MySQL, JavaDB, PostgreSQL):
  New

Bug description:
  =========
  # 2011-09-01T11:40:17 # Creating MySQL table: test.table100_memory_key_pk_parts_2; engine: memory; rows: 100 .
  # 2011-09-01T11:40:19 # Creating MySQL table: test.table100_memory_key_pk_parts_2_int_autoinc; engine: memory; rows: 100 .
  # 2011-09-01T11:40:21 Loading Generator GenTest::Generator::FromGrammar.
  Unable to open() grammar /randgen/conf/optimizer/archive/subquery_semijoin_nested2.yy: No such file or directory at lib/GenTest/Grammar.pm line 94.
  # 2011-09-01T11:40:21 gentest.pl exited with exit status STATUS_UNKNOWN_ERROR (2)
  2011-09-01T11:40:21 [21325] runall.pl will exit with exit status STATUS_UNKNOWN_ERROR (2)
  =========

  Maybe we could have a better exit status like STATUS_FILE_NOT_FOUND ?

To manage notifications about this bug go to:
https://bugs.launchpad.net/randgen/+bug/838482/+subscriptions


Follow ups

References