Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Warden
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pavel Valach
Warden
Commits
592efd05
Commit
592efd05
authored
2 years ago
by
Jakub Maloštík
Browse files
Options
Downloads
Patches
Plain Diff
Renamed warden_3.0.sql script to warden_3.0_mysql.sql as it is MySQL specific
parent
efa9704a
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
warden_server/README
+1
-1
1 addition, 1 deletion
warden_server/README
warden_server/test_warden_server.py
+1
-1
1 addition, 1 deletion
warden_server/test_warden_server.py
warden_server/warden_3.0_mysql.sql
+0
-0
0 additions, 0 deletions
warden_server/warden_3.0_mysql.sql
with
2 additions
and
2 deletions
warden_server/README
+
1
−
1
View file @
592efd05
...
...
@@ -72,7 +72,7 @@ C. Installation
* Create necessary table structure
mysql -p -u warden warden3 < warden_3.0.sql
mysql -p -u warden warden3 < warden_3.0
_mysql
.sql
* Get up to date Idea schema
...
...
This diff is collapsed.
Click to expand it.
warden_server/test_warden_server.py
+
1
−
1
View file @
592efd05
...
...
@@ -39,7 +39,7 @@ def setUpModule(): # pylint: disable = locally-disabled, invalid-name
cur
.
execute
(
"
DROP DATABASE IF EXISTS %s
"
%
(
DB
,))
# NOT SECURE
cur
.
execute
(
"
CREATE DATABASE %s
"
%
(
DB
,))
# NOT SECURE
cur
.
execute
(
"
USE %s
"
%
(
DB
,))
# NOT SECURE
with
open
(
path
.
join
(
path
.
dirname
(
__file__
),
'
warden_3.0.sql
'
))
as
script
:
with
open
(
path
.
join
(
path
.
dirname
(
__file__
),
'
warden_3.0
_mysql
.sql
'
))
as
script
:
statements
=
''
.
join
([
line
.
replace
(
'
\n
'
,
''
)
for
line
in
script
if
line
[
0
:
2
]
!=
'
--
'
]).
split
(
'
;
'
)[:
-
1
]
for
statement
in
statements
:
cur
.
execute
(
statement
)
...
...
This diff is collapsed.
Click to expand it.
warden_server/warden_3.0.sql
→
warden_server/warden_3.0
_mysql
.sql
+
0
−
0
View file @
592efd05
File moved
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment