testcontainers / testcontainers/testcontainers-java
Parsing of scripts containing the syllables "end" or "begin" is broken
オープン
@rnorth がすでに取り組んでいます。
2019年4月17日 から。
modules/jdbc
resolution/acknowledged
type/bug
- 主要言語
- Java
- スター
- 8.7k
- フォーク
- 1.9k
- 平均マージ
- 2日 17時間
- マージ済み PR(30日)
- 9
説明
A script containing the syllable "end" (or, I suppose "begin") outside a comment or a quote will prevent the code from finding any further line-breaks, thus, usually breaking the script.
the offending line is https://github.com/testcontainers/testcontainers-java/blob/b6de1ac6de2bc1a68c5a789661f48341f8cb858c/modules/database-commons/src/main/java/org/testcontainers/ext/ScriptUtils.java#L168
An example script would be
create tablespace DEV datafile 'dev.dbf' size 256M autoextend on;
CREATE USER bla IDENTIFIED BY testuser DEFAULT TABLESPACE DEV;
CREATE USER blub IDENTIFIED BY testuser DEFAULT TABLESPACE DEV;
CREATE USER bloh IDENTIFIED BY testuser DEFAULT TABLESPACE DEV;
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
評価
この issue はまだ評価されていません。