Closed GoogleCodeExporter closed 8 years ago
Comment ça "mauvais" ?
en int, moins php en fait, mieux c'est.
Original comment by Alex10336@gmail.com
on 25 May 2010 at 12:46
Ba l'erreur basique de la chaine de caractère trié sur mysql
1
10
2
20
3 ...
Original comment by XCharism...@gmail.com
on 25 May 2010 at 12:48
Ah, en effet. a changer comme les troupes arrivé là....
Original comment by Alex10336@gmail.com
on 25 May 2010 at 12:50
Je vais regarder s'il n'y a pas moyen de contourner sa.
Original comment by Alex10336@gmail.com
on 25 May 2010 at 12:50
Les troop sont déjà en int ^^
Original comment by XCharism...@gmail.com
on 25 May 2010 at 12:53
un requête de ce genre rectif le tir:
SELECT UNIX_TIMESTAMP(a.DATE) as udate,a.*,b.* from SQL_PREFIX_Coordonnee a
left outer
join SQL_PREFIX_Coordonnee_Planetes b on (a.ID=b.pID) WHERE 1=1 ORDER BY
water+0 DESC
LIMIT 0,20
Original comment by Alex10336@gmail.com
on 25 May 2010 at 12:56
Original comment by Alex10336@gmail.com
on 25 May 2010 at 1:07
Semble pas fonctionner ta requête, enfin si, mais elle renvoie uniquement les
planètes à 90% d'eau
Affichage des enregistrements 0 - 19 (20 total, Traitement en 0.0017 sec.)
Sur plus de 65000 enregistrements.
Original comment by XCharism...@gmail.com
on 25 May 2010 at 1:12
En passant tant quand est dans les tri/recherche, faudrait peut etre ajouter un
select avant les troupes retournant < ou > pour recherche + ou moins de soldat
et
peut être rajouter une cellule de recherche de l'eau avec le même select.
T'en penses quoi ?
Original comment by XCharism...@gmail.com
on 25 May 2010 at 1:18
Entre tel et tel valeur ?
Yeap, aussi. d'autre truc a revoir a ce niveau.
(j'le passe en fonctionnalité du coup)
Original comment by Alex10336@gmail.com
on 25 May 2010 at 1:36
Ou entre tel et tel si tu veux t'amuser à en mettre 2
Faudrais que je matte l'import des planètes aussi, pour bloquer l'import si
les %
sont mis en base, éviter que les nom remplace les %
Original comment by XCharism...@gmail.com
on 25 May 2010 at 1:45
ALTER TABLE `SQL_PREFIX_Coordonnee` CHANGE `water` `water` TINYINT( 3 ) NULL
DEFAULT NULL;
Original comment by Alex10336@gmail.com
on 8 Jul 2010 at 1:15
Original issue reported on code.google.com by
XCharism...@gmail.com
on 25 May 2010 at 12:34