Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
05841b1b
authored
Nov 06, 2017
by
Arturo Montejo Ráez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
minor change in new-grid-update
parent
b5b2f72e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
sails/roles/database/files/new-grid-system-adapt.sql
sails/roles/database/files/new-grid-system-adapt.sql
View file @
05841b1b
...
@@ -70,7 +70,7 @@ BEGIN
...
@@ -70,7 +70,7 @@ BEGIN
SELECT
`text`
FROM
picto_exp
WHERE
id_pic
=
_id_cat
AND
lang
=
'es-es'
INTO
_grid_name
;
SELECT
`text`
FROM
picto_exp
WHERE
id_pic
=
_id_cat
AND
lang
=
'es-es'
INTO
_grid_name
;
-- Verifico si existe una escena con dicho nombre para el alumno actual
-- Verifico si existe una escena con dicho nombre para el alumno actual
SELECT
COUNT
(
*
)
FROM
grid
WHERE
name
=
_grid_name
COLLATE
utf8_
unicode
_ci
AND
id_stu
=
_id_stu
INTO
_grid_instances
;
SELECT
COUNT
(
*
)
FROM
grid
WHERE
name
=
_grid_name
COLLATE
utf8_
general
_ci
AND
id_stu
=
_id_stu
INTO
_grid_instances
;
-- Si el nombre de la escena existe mas de una vez, no sabemos a cual corresponde, lo notificamos
-- Si el nombre de la escena existe mas de una vez, no sabemos a cual corresponde, lo notificamos
IF
(
_grid_instances
>
1
)
THEN
IF
(
_grid_instances
>
1
)
THEN
...
...
Write
Preview
Markdown
is supported
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