Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mesh
meshmap
Commits
df604384
Commit
df604384
authored
Mar 11, 2019
by
Eric - kg6wxc
Browse files
Thaaat's what I knew I forgot to add!
parent
c87fb1d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/checkDB.inc
View file @
df604384
...
@@ -184,7 +184,7 @@ function wxc_checkDB () {
...
@@ -184,7 +184,7 @@ function wxc_checkDB () {
//check for old trigger based on miles and update to new trigger based on kilometers.
//check for old trigger based on miles and update to new trigger based on kilometers.
//the conversion to miles will be done later in the code.
//the conversion to miles will be done later in the code.
$oldDistanceTriggerQuery
=
"select action_statement from information_schema.triggers where action_statement like '%3959%'"
;
$oldDistanceTriggerQuery
=
wxc_getMySql
(
"select action_statement from information_schema.triggers where action_statement like '%3959%'"
)
;
if
(
$oldDistanceTriggerQuery
)
{
if
(
$oldDistanceTriggerQuery
)
{
$sql
=
"drop trigger topology_get_latlons_brg_dist"
;
$sql
=
"drop trigger topology_get_latlons_brg_dist"
;
mysqli_query
(
$GLOBALS
[
'sql_connection'
],
$sql
)
mysqli_query
(
$GLOBALS
[
'sql_connection'
],
$sql
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment