AILab-FOI / akdb

An experimental relational DBMS developed by students @ Faculty of Organization and Informatics, University of Zagreb
6 stars 24 forks source link

Unaprijediti projection.c #255

Closed mschatten closed 3 years ago

mschatten commented 3 years ago

AK_get_operator mogao bi se elegantnije riješiti kroz switch case. if(strstr(exp,"+")) return "+"; else if(strstr(exp,"-")) return "-"; else if(strstr(exp,"/")) return "/"; else if(strstr(exp,"%")) return "%"; else if(strstr(exp,"")) return "";

sdujakovi commented 3 years ago

Javljam se za rješavanje.