hi Please help me i am in great problem.

My question goes like this

If a program is executing to create a database and in mean time disk is full what will hapen to program ?
How to recover it from being crashing?