Minecraft wiki entry for Mining_Fatigue, associated text: The effect does not affect block breaking in creative mode, or blocks that are broken instantly by default.
Other conditions which reduce mining speed include: being underwater; riding a horse, pig, being on a ladder, or in a boat or minecart.