diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-08-10 21:41:53 +0200 |
---|---|---|
committer | dklawren <dklawren@users.noreply.github.com> | 2018-08-10 21:41:53 +0200 |
commit | ea5beeacb185309572836cc60989f95ea4705f9d (patch) | |
tree | 1f8f44b5d1dba73fb05214ba1e539c0918d42bb9 /Bugzilla/DB | |
parent | 53e1adcc77b3e68c1d8659d418aa5639d9917e42 (diff) | |
download | bugzilla-ea5beeacb185309572836cc60989f95ea4705f9d.tar.gz bugzilla-ea5beeacb185309572836cc60989f95ea4705f9d.tar.xz |
Bug 1482475 - Add extensive testing framework
Diffstat (limited to 'Bugzilla/DB')
-rw-r--r-- | Bugzilla/DB/Sqlite.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/DB/Sqlite.pm b/Bugzilla/DB/Sqlite.pm index 3890d0795..81ee7d888 100644 --- a/Bugzilla/DB/Sqlite.pm +++ b/Bugzilla/DB/Sqlite.pm @@ -73,7 +73,7 @@ sub BUILDARGS { my $db_name = $params->{db_name}; # Let people specify paths intead of data/ for the DB. - if ($db_name and $db_name !~ m{[\\/]}) { + if ($db_name && $db_name ne ':memory:' && $db_name !~ m{[\\/]}) { # When the DB is first created, there's a chance that the # data directory doesn't exist at all, because the Install::Filesystem # code happens after DB creation. So we create the directory ourselves |