Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Antoine
ae2
Commits
fdc85ebd
Commit
fdc85ebd
authored
Aug 01, 2007
by
Feu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
0bc904c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
temp/galaxy.php
temp/galaxy.php
+2
-2
No files found.
temp/galaxy.php
View file @
fdc85ebd
...
...
@@ -208,8 +208,8 @@ for($i=0;$i<$cycles;$i++)
new
requete
(
$dbrw
,
"UPDATE galaxy_link SET dx_link=RAND(), dy_link=RAND() WHERE length_link != ideal_length_link AND dx_link=0 AND dy_link=0"
);
echo
"4: "
.
round
(
microtime
(
true
)
-
$st
,
2
)
.
" - "
;
new
requete
(
$dbrw
,
"UPDATE galaxy_link, galaxy_star AS a, galaxy_star AS b SET "
.
"delta_link_a=(length_link-ideal_length_link)/ideal_length_link/
1
00, "
.
"delta_link_b=(length_link-ideal_length_link)/ideal_length_link/
1
00*-1 "
.
"delta_link_a=(length_link-ideal_length_link)/ideal_length_link/
5
00, "
.
"delta_link_b=(length_link-ideal_length_link)/ideal_length_link/
5
00*-1 "
.
"WHERE a.id_star = galaxy_link.id_star_a AND b.id_star = galaxy_link.id_star_b"
);
echo
"5: "
.
round
(
microtime
(
true
)
-
$st
,
2
)
.
" - "
;
new
requete
(
$dbrw
,
"UPDATE galaxy_star SET "
.
...
...
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