Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Tabele tymczasowe
lexis72
post
Post #1





Grupa: Zarejestrowani
Postów: 124
Pomógł: 0
Dołączył: 25.02.2013

Ostrzeżenie: (0%)
-----


Witam, Kiedy zostanie usunieta tabela tymczasowa jesli zapytanie do jej utworzenia zostanie wstawione do kodu strony php? Czy po wykonaniu zapytania automatycznie zostanie usunięta czy będzie w bazie mysql aż nie zostanie wykonana kwerenda o jej usunięciu?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
irekk
post
Post #2





Grupa: Zarejestrowani
Postów: 64
Pomógł: 10
Dołączył: 2.08.2012
Skąd: DW

Ostrzeżenie: (0%)
-----


Cytat
A TEMPORARY table is visible only to the current session, and is dropped automatically when the session is closed. This means that two different sessions can use the same temporary table name without conflicting with each other or with an existing non-TEMPORARY table of the same name.

http://dev.mysql.com/doc/refman/5.1/en/create-table.html
Jakby miało czekać na DROPa to by można nieźle bazę zawalić śmieciami (IMG:style_emoticons/default/wink.gif)

Ten post edytował irekk 29.10.2014, 11:10:34
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 8.10.2025 - 13:13