One year in County jail is the maximum for misdemeanors in Ca. I would need to know what the prior drug convictions were and if you were on probation to give more information.
My standard disclaimer: I am not offering legal advice, assume I do
not know the law in your state or at all for that matter and that I am
just making suggestions for starting points for when you do speak with
an attorney. Do NOT rely on anything I write and contact a lawyer in
your area immediately after reading my posting.
Assuming you are not on probation for the priors, the max is either 6 months and/or a $1000 fine if it is a misdemeanor. Depending on the facts, commercial burglary could also be filed. But if it is under $50, it could simply be an infraction subject to a fine only.